package com.dfbz.bigdata.dfbzprojectauth.controller;


import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.*;
import java.util.HashMap;
import java.util.Map;

/**
 * token 控制
 * 
 * @author ruoyi
 */
@RestController
public class TokenController
{

    @GetMapping(value = "/login",produces = MediaType.APPLICATION_JSON_VALUE)
    public Object login()
    {
       Map rs= new HashMap<String, String>();
       rs.put("abc","123");
        return rs;
    }

    @GetMapping("/token")
    public Object token(){
        return "token007";
    }


}
